package com.zz.repository;

import com.zz.entity.ESActivity;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/***
 * @author 周紫
 * @desc es 搜索仓库
 **/
//该接口继承了ElasticsearchRepository接口，ElasticsearchRepository接口定义了Elasticsearch的CRUD
@Repository
public interface ESActivityRepository extends ElasticsearchRepository<ESActivity, String> {

}